package com.wt.entity;

import java.util.Date;

public class Order {
    private String orderName;
    private int orderStater; //0待支付，1待出行，2已完成，3已退款
    private String orderTime;
    private String travelTime;
    private Double orderPrice;
    private String scenicImage;
    private String userId;
    private int orderId; //主键 自增id

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public int getOrderStater() {
        return orderStater;
    }

    public void setOrderStater(int orderStater) {
        this.orderStater = orderStater;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getTravelTime() {
        return travelTime;
    }

    public void setTravelTime(String travelTime) {
        this.travelTime = travelTime;
    }

    public Double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Double orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getScenicImage() {
        return scenicImage;
    }

    public void setScenicImage(String scenicImage) {
        this.scenicImage = scenicImage;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderName='" + orderName + '\'' +
                ", orderStater=" + orderStater +
                ", orderTime=" + orderTime +
                ", travelTime=" + travelTime +
                ", orderPrice=" + orderPrice +
                ", scenicImage='" + scenicImage + '\'' +
                ", userId='" + userId + '\'' +
                ", orderId=" + orderId +
                '}';
    }
}
